package com.qf.pojo;

/**
 * created by 赵文韬 on 2022/3/4 16:12
 */
public class UserDao {
    private User user;

    public UserDao() {
        System.out.println("无参构造方法执行了");
    }

    public void setUser(User user) {
        System.out.println("执行了");
        this.user = user;
    }
    public void eat(){
        System.out.println("eat方法执行了");
    }
}
